package com.example.service;

import com.example.entity.CourseSelectionResult;

import java.util.List;

public interface CourseSelectionResultService {
    void add(CourseSelectionResult courseSelectionResult);

    List<CourseSelectionResult> findByStudentId(String studentId);

    List<CourseSelectionResult> findByCourseId(String courseId);

    CourseSelectionResult findByStudentIdAndCourseId(String studentId, String courseId);

    void updateByStudentIdAndCourseId(CourseSelectionResult courseSelectionResult);

    void updateSelectiveByStudentIdAndCourseId(CourseSelectionResult courseSelectionResult);

    void removeByStudentIdAndCourseId(String studentId, String courseId);

    void updateSelectiveById(CourseSelectionResult courseSelectionResult);

    void removeById(Integer id);
}
